package com.demo1.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.demo1.entity.OrderStatement;
import com.demo1.mapper.OrderStatementMapper;
import com.demo1.service.OrderStatementService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class OrderStatementServiceImpl extends ServiceImpl<OrderStatementMapper, OrderStatement> implements OrderStatementService {
    @Autowired
    OrderStatementMapper orderStatementMapper;
    @Override
    public List<OrderStatement> list(Map<String, Object> map) {
        return orderStatementMapper.list(map);
    }

    @Override
    public Long getTotal(Map<String, Object> map) {
        return orderStatementMapper.getTotal(map);
    }
}
